package com.zretc.entity;

/**
 * 工资记录实体类
 * @author wangxinghang
 */
public class PaySalary {

    //编码
    private Integer id;
    //员工的编码
    private Integer employeeId;
    //发放工资时间
    private String payDate;
    //方法金额
    private double payNumber;
    //员工对象
    private Employee employee;
    //员工账套对象
    private  EmployeeSalary employeeSalary;

    public PaySalary() {
    }

    public PaySalary(Integer id, Integer employeeId, String payDate, double payNumber) {
        this.id = id;
        this.employeeId = employeeId;
        this.payDate = payDate;
        this.payNumber = payNumber;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getPayDate() {
        return payDate;
    }

    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

    public double getPayNumber() {
        return payNumber;
    }

    public void setPayNumber(double payNumber) {
        this.payNumber = payNumber;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public EmployeeSalary getEmployeeSalary() {
        return employeeSalary;
    }

    public void setEmployeeSalary(EmployeeSalary employeeSalary) {
        this.employeeSalary = employeeSalary;
    }

    @Override
    public String toString() {
        return "PaySalary{" +
                "id=" + id +
                ", employeeId=" + employeeId +
                ", payDate='" + payDate + '\'' +
                ", payNumber=" + payNumber +
                ", employee=" + employee +
                ", employeeSalary=" + employeeSalary +
                '}';
    }
}
